ArcPad Layer Definition File Schema
GPS Element
See Also  Send comments on this topic.
ArcPad Layer Definition File Schema > ArcPad Element > LAYER Element > SYSTEMOBJECTS Element : GPS Element

Glossary Item Box

Description

Used to specify GPS preferences and script subroutines to call when GPS events occur.

Diagram

GPS Element

Overview

GPS
Used to specify GPS preferences and script subroutines to call when GPS events occur.
onaveragestart optional xs:string
Specify the script to run when this event occurs.
onaveragestop optional xs:string
Specify the script to run when this event occurs.
onclose optional xs:string
Specify the script to run when this event occurs
onexevent optional xs:string
Specify the script to run when this event occurs.
onopen optional xs:string
Specify the script to run when this event occurs
onposition optional xs:string
Specify the script to run when this event occurs.
onsentence optional xs:string
Specify the script to run when this event occurs.

Attributes

NameTypeUseDefaultFixedDescription
onaveragestartxs:stringoptional  Specify the script to run when this event occurs.
onaveragestopxs:stringoptional  Specify the script to run when this event occurs.
onclosexs:stringoptional  Specify the script to run when this event occurs
onexeventxs:stringoptional  Specify the script to run when this event occurs.
onopenxs:stringoptional  Specify the script to run when this event occurs
onpositionxs:stringoptional  Specify the script to run when this event occurs.
onsentencexs:stringoptional  Specify the script to run when this event occurs.

Examples

Restrictions

  • The subroutine called should be located in the file specified in the SCRIPT element.

Source

<xs:element name="GPS" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:attribute ref="onaveragestart" />
    <xs:attribute ref="onaveragestop" />
    <xs:attribute ref="onclose" />
    <xs:attribute ref="onexevent" />
    <xs:attribute ref="onopen" />
    <xs:attribute ref="onposition" />
    <xs:attribute ref="onsentence" />
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.